class Category < ActiveRecord::Base
  validates_format_of :imageFile, :with => /^.+[png]/, :allow_nil => true, :message => "must be a PNG file."

end
